package testClasses.misc;

import gameAppLayer.XMLData;

import java.io.IOException;
import java.util.ArrayList;
import java.util.HashMap;

import utilities.XMLLoader;

public class XMLLoaderTest {
	
	public static void main(String[] args) throws IOException, ClassNotFoundException {
		XMLLoader loader = new XMLLoader();
		
		loader.execute();
		
		XMLData data = loader.getData();
		
		ArrayList<String> entries = data.getEarthLike().getEntries();
		HashMap<String, Double> values = data.getEarthLike().getEarthLikeProbs();
		for (String entry: entries) {
			System.out.println(values.get(entry));
		}
		
		
	}

}
